package com.ckzp.weixin.service;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by 51594 on 2023/4/3.
 */
public class MessageActionCache {

    public static Map ACTIONS = new HashMap();

    public static void setAction(Map actions) {
        if (ACTIONS != null) ACTIONS = actions;
    }

    /**
     * @param keys
     * @return
     */
    public static String getActionClass(String keys) {
        if (ACTIONS != null) {
            return String.valueOf(ACTIONS.get(keys));
        }
        return null;
    }
}
